<%@ page language="java" contentType="text/html; charset=UTF-8" 
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 staticHongitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>日分红</title>
<script src="../../scripts/jquery/jquery-1.4.2.min.js"></script> 
<script type="text/javascript">

function everyDayHong(){
	if(confirm('确定要发放日分红吗?')){
		$("#everyDayHongBut1").attr({"disabled":"disabled"});
		$('#hongStatus').text("正在发放中，请稍候......");
		$.post('bonus!everyDayHong.action',function(result){
			alert(result);
			$('#hongStatus').text(result);
			$("#everyDayHongBut1").removeAttr("disabled");
		})
	}
}

</script>


</head>
<body>
<h3>请不要重复快速点击“日利息发放”按钮</h3>

<input type="button" onclick="everyDayHong()" id="everyDayHongBut1" value="日利息发放" />
<span id="hongStatus" style="color: red;"></span>
</body>
</html>